package game;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MainClient {

	private static Logger logger = LoggerFactory.getLogger(MainClient.class);

	public static void main(String[] args) {
//		ApplicationContext factory = new ClassPathXmlApplicationContext("applicationContext.xml");
//		logger.info("spring init success!,factory={}", factory);
//		NettyClient amf3Client = new NettyClient();
//		GameClient sampleClient = new GameClient(amf3Client);
//		sampleClient.connect("127.0.0.1", 8653);
//		//登录
//		Login_C2S msg = new Login_C2S();
//		msg.setName("wujian");
//		msg.setPwd("123456");
//
//		CreateRole_C2S msg2 = new CreateRole_C2S();
//		msg2.setRoleName("吴剑");
//		msg2.setUserId(1);
//		msg2.setGender(0);
//		msg2.setCharacterId(0);
//		sampleClient.send(msg2);
	}

}
